const crypto = require('crypto');
require('dotenv').config();

const generateSecret = () => {
  const buffer = crypto.randomBytes(32);
  return buffer.toString('base64');
};

console.log('你的 JWT 安全码:');
console.log(generateSecret());
console.log('\n该文件生成后请立即删除');